@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*=====================================
            ALL COMMON STYLE
======================================*/

* {
    margin: 0px;
    padding: 0px;
    outline: 0px;
}

/*===== VARIABLES CSS =====*/

:root {
    --header-height: 3rem;
    /*========== Colors ==========*/
    --main-color: #6b082e;
    --main-grident: linear-gradient(#2a0c1b, #661e45);
    --heading-color: #48455a;
    --main-color-alt: #8b254d;
    --title-color: #393939;
    --text-color: #707070;
    --text-color-light: #a6a6a6;
    --header-color: #ffffff;
    --container-color: #ffffff;
    /*========== Font and typography ==========*/
    --body-font: "Poppins", sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== Margenes ==========*/
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 768px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
span,
label {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

.cs_left_border_1 {
    border-left: 1px solid #0a0b0c;

    @media (max-width: 767px) {
        border: none;
    }
}

/*========== BASE ==========*/
.title {
    font-size: 16px;
}

@media (max-width: 991px) {
    #rightSidebar small {
        display: none;
    }

    .title {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    #rightSidebar .title {
        font-size: 12px;
    }
}

*,
::before,
::after {
    box-sizing: border-box;
}

body {
    color: #1d1c1c;
    font-size: 13px;
    font-family: "Poppins", sans-serif;
    line-height: 28px;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

html,
body {
    scroll-behavior: smooth;
}

button:focus {
    outline: none;
}

.bg-white {
    background-color: #fff !important;
}

/* =====================================================CUSTOME BUTTON========================= */

/* =====================================action button======================== */

a.action-btn {
    background: #fff;
    padding: 3px;
    margin: 2px;
    text-align: center;
    border-radius: 2px;
}

.c-edit {
    color: #deb901;
}

.c-edit:hover {
    color: #dcbf2e;
}

.c-delete {
    color: #f00;
}

.c-delete:hover {
    color: rgb(167, 34, 34);
}

.c-approved {
    color: #058c0f;
}

.c-approved:hover {
    color: #11991a;
}

.multi-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================================action button======================== */

/* ================================================NOTUFY BATCH===================================== */

.notify {
    position: absolute;
    background: #cc1212;
    font-size: 10px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    color: #fff;
    border-radius: 50%;
    margin-top: -15px;
}

.notify-grin {
    position: absolute;
    background: #086594;
    font-size: 10px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    color: #fff;
    border-radius: 50%;
    margin-top: -15px;
}

/* ==============================================input======================== */

/* .form-control:focus {
    box-shadow: 0 0 5px 0rem rgb(90 90 90 / 38%);
} */

.select2-selection:focus,
.form-control:focus {
    box-shadow: 0 0;
    background-color: #b8e6f680 !important;
}

select.form-control:focus option {
    background: #ffffff !important;
}

/* ============================canva================================ */

canvas#chart {
    display: block;
    width: 100%;
    height: 250px;
}

/* ===============================================button====================== */

.dropdown-button {
    background: #ddd;
    padding: 0px 10px;
    border-radius: 3px;
}

.btn_gray {
    background: linear-gradient(#f8f8f8, #e3e3e3);
    font-size: 11px;
    color: #444;
    padding: 0 10px;
    border: #c6c7c7 1px solid;
    text-shadow: 1px 1px 0px #fff;
    margin-right: 5px;
}

.btn_gray:hover {
    background: linear-gradient(#e3e3e3, #f8f8f8);
    -moz-box-shadow: 0 0 3px #aaa;
    -webkit-box-shadow: 0 0 3px#aaa;
    box-shadow: 0 0 3px #aaa;
}

.btn_blue {
    background: linear-gradient(#30a9d2, #0d63a3);
    font-size: 11px;
    padding: 0 10px;
    color: #fff;
    border: #093868 1px solid;
    text-shadow: 1px 1px 0px #333;
    margin-right: 5px;
}

.btn_blue:hover {
    background: linear-gradient(#30a9d2, #077aa0);
    -moz-box-shadow: 0 0 3px #aaa;
    -webkit-box-shadow: 0 0 3px#aaa;
    box-shadow: 0 0 3px #aaa;
}

.btn_orange {
    background: linear-gradient(#e79234, #b92f08);
    font-size: 11px;
    padding: 0 10px;
    color: #fff;
    border: #9f2b0c 1px solid;
    text-shadow: 1px 1px 0px #333;
    margin-right: 5px;
}

.btn_orange:hover {
    background: linear-gradient(#e79234, #b15e00);
    -moz-box-shadow: 0 0 3px #aaa;
    -webkit-box-shadow: 0 0 3px#aaa;
    box-shadow: 0 0 3px #aaa;
}

/* =============================================bootstrap model================= */

.modal-header {
    padding: 1px 12px;
    background: -webkit-linear-gradient(top,
            #19a6d3 0%,
            #0853a1 50%,
            #064492 51%,
            #02286e 100%);
    color: #fff;
}

button.btn-close:focus {
    box-shadow: none;
}

.modal-body {
    background: #fff;
}

.modal-footer {
    /* background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center; */
    background: #ddd;
    display: flex;
    align-items: end;
}

.close-btn span {
    background: #ddd;
    padding: 2px 5px;
    border-radius: 2px;
    color: #92392a;
}

/* =======================================form text editor================ */

.cleditorToolbar {
    border-bottom: 1px solid #ddd;
}

.loading_button {
    font-size: 12px;
}

.swal-button {
    padding: 2px 20px !important;
}

a.paginate_button {
    padding: 0px 6px;
    background: #e2e4ff;
    margin: 3px;
    color: #707479;
    cursor: pointer;
}

a.paginate_button.current {
    background: #eeeeee;
}

.modal-table tr {
    line-height: 14px;
}

.modal-table tbody tr {
    line-height: 15px;
}

.modal-table tbody tr {
    background: #f5f3f3;
}

.modal-table thead tr th {
    font-size: 11px;
}

.print-table tr {
    line-height: 14px;
}

.print-table tbody tr {
    line-height: 15px;
}

.print-table thead tr th {
    font-size: 11px;
}

li {
    margin: 0px;
    padding: 0px;
    line-height: 17px;
}

.data_preloader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background: white;
    padding-top: 2px;
    border-radius: 3px;
    opacity: 0.7;
    color: black;
    width: 100%;
    height: 100%;
    display: none;
}

tr.clickable_row {
    cursor: pointer;
}

.data_preloader {
    text-align: center;
    font-size: 12px;
}

.data_preloader h6 {
    font-weight: 600;
    margin-top: 100px;
}

.widget_content {
    position: relative;
}

/* Add purchase table */
span.product_name {
    font-size: 12px;
}

span.product_code {
    font-size: 10px;
    font-weight: 600;
}

span.product_variant {
    font-size: 10px;
    font-weight: 700;
}

.add_button {
    cursor: pointer;
}

a.dashboard_icon {
    padding: 3px 0px !important;
    border-radius: 4px;
}

label {
    font-size: 11px;
}

.t {
    padding-bottom: 41px !important;
}

select {
    height: 26px;
    border: 1px solid #d8d8d8;
}

.tp {
    color: #3cb7dd;
}

.modal-table td {
    color: black;
}

.text-1 {
    color: #064492 !important;
}

.btn-1 {
    color: #fff;
    background-color: #064492;
    border-color: #064492;
}

.bg-1 {
    background-color: #064492;
}

.btn_secondary {
    background: linear-gradient(#aecad3, #6c757d);
    font-size: 11px;
    padding: 0 10px;
    color: #fff;
    border: #9bacbd 1px solid;
    text-shadow: 1px 1px 0px #333;
    margin-right: 5px;
}

.btn_primary {
    background: linear-gradient(#0853a1, #212529f2);
    font-size: 11px;
    padding: 0 10px;
    color: #fff;
    border: #9bacbd 1px solid;
    text-shadow: 1px 1px 0px #333;
    margin-right: 5px;
}

.text-hover {
    font-weight: 600;
}

.text-hover:hover {
    font-weight: 600;
    color: white !important;
}

.red-label-notice {
    color: red !important;
    font-size: 9px !important;
}

/* ================*dt-buttons*================ */

.cs_custom_wrapper {
    /* height: initial;
    transform: translateY(-2px); */
}

.h-100 {
    height: 100% !important;
}

.sec-name #addBtn {
    outline: none;
    border: none;
}

.cs_category_header .btn.btn-secondary {
    background-color: initial !important;
    background-image: initial !important;
}

/* .sec-name #addBtn, */
.sec-name .btn.btn-secondary,
.sec-name .btn.btn-primary,
.sec-name .btn.btn-success,
.sec-name .btn-danger,
.sec-name #printReport,
.pricing-table .btn.btn-primary,
.export-btn-wrapper .btn.exportBtn {
    border-color: initial !important;
    height: 40px !important;
    margin: 0;
    text-align: left;
    background-image: linear-gradient(#2b9ed0, #0f5167) !important;
    border: 0;
    border-left: 1px solid #3ebdf3 !important;
    border-right: 1px solid #16516a !important;
    border-radius: 0;
    position: relative;
    padding: 0 15px !important;
    font-size: 12px;
    min-width: fit-content;
    font-weight: normal !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
    gap: 5px;
    box-shadow: none !important;
}

/* .sec-name #addBtn:focus, */
.sec-name .btn.btn-secondary:focus,
.sec-name .btn.btn-primary:focus,
.sec-name .btn.btn-success:focus,
.sec-name .btn-danger:focus,
.sec-name #printReport:focus,
.pricing-table .btn.btn-primary:focus,
.export-btn-wrapper .btn.exportBtn:focus {
    background-image: linear-gradient(#0f5167, #2b9ed0) !important;
}

/* .sec-name .tab_list_area .tab_btn{
  height: initial !important;
  flex-direction: initial !important;
  height: 25px !important;
  align-items: center !important;
} */

.sec-name .input-group {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}

.gap-10 {
    gap: 10px;
}

.cpl_0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.body-woaper {
    padding-bottom: 30px;
}

.name-head h5,
.name-head h6 {
    width: max-content;
}

.sec-name .btn.back-button {
    margin-left: 5px !important;
    max-width: 100px;
}

.sec-name .print_and_back_btn_wrap .btn.back-button {
    margin-left: initial !important;
}

.sec-name .print_and_back_btn_wrap .input-group {
    min-width: fit-content;
    max-width: 130px;
}

.sec-name>h5,
.sec-name>h6 {
    min-width: min-content !important;
}

.print_and_back_btn_wrap .input-group .col-6 {
    width: initial !important;
}

.sec-name .input-group label.col-4 {
    width: min-content;
}

.btn.btn-sale.btn-primary.submit_button {
    /* width: 100% !important; */
}

a.btn.btn-sale.btn-info.text-white {
    line-height: 54px;
}

/* Update Responsive */
.d-hide {
    display: none;
}

/* table update */
.table-responsive thead tr {
    color: #fff;
    background-image: linear-gradient(#2b9ed0, #0f5167) !important;
    border: 0;
    border-left: 1px solid #3ebdf3 !important;
    border-right: 1px solid #16516a !important;
}

.cs_filter_view_right_clear .dataTables_length {
    right: 0;
}

.ledger .table-responsive,
/* .contract_info_area .table-responsive, */
.purchases .table-responsive,
.purchase_orders .table-responsive,
.sale .table-responsive,
.sales_order .table-responsive,
.payments .table-responsive,
.receipts .table-responsive {
    border-top: 1px solid #ccc;
    margin-top: 10px;
    border-radius: 5px;
}

.tab_content .cs_flex_btn_wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: end !important;
}

.cs_flex_btn_wrap>* {
    width: max-content !important;
}

@media (min-width: 991px) {
    .head__content__sec .d-md-block {
        display: block !important;
    }

    .m-0.cs_filter_btn {
        margin: initial;
    }
}

@media (max-width: 991px) {

    /* .sec-name #addBtn, */
    .sec-name .btn.btn-secondary,
    .sec-name .btn.btn-success,
    .sec-name #printReport,
    .sec-name .dt-buttons .btn.btn-primary {
        padding: 0 10px !important;
    }

    .cs_filter_btn {
        margin-top: 20px !important;
    }

    /*
  .cs_custom_wrapper{
    width: 100%;
  } */

    .cs_custom_wrapper>* {
        flex: 1;
        max-width: 180px;
    }

    .cs_custom_wrapper .dt-buttons {
        width: 100%;
    }

    .cs_custom_wrapper .dt-buttons>* {
        flex: 1;
    }

    .cpl_lg_0 {
        padding-left: 0 !important;
    }

    .mt_md_20 {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .panel__nav {
        padding-top: initial !important;
        padding: 10px !important;
    }

    .top-menu {
        gap: 10px;
    }

    .expire_date_text {
        margin-right: 5px;
    }

    .cpl_md_0 {
        padding-left: 0 !important;
    }
}

@media (max-width: 575px) {
    .cs_custom_wrapper>* {
        max-width: initial;
    }

    .cpl_sm_0 {
        padding-left: 0 !important;
    }

    .mt_sm_20 {
        margin-top: 20px;
    }

    .sec-name .input-group .form-control,
    .input-group #select_print_page_size,
    /* .sec-name #addBtn, */
    .sec-name .btn.btn-secondary,
    .sec-name .btn.btn-primary,
    .sec-name .btn.btn-success,
    .sec-name .btn-danger,
    .sec-name #printReport,
    .pricing-table .btn.btn-primary,
    .export-btn-wrapper .btn.exportBtn {
        max-height: 30px;
        font-size: 9px;
    }

    .input-group #select_print_page_size {
        max-height: 32px;
    }
}
